package com.neu.his.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neu.his.entity.User;
import com.neu.his.entity.VO.SystemManage01.UserManage.UserQueryVO;
import com.neu.his.entity.request.UserManage.UserPageParams;
import org.springframework.stereotype.Repository;

import javax.jws.soap.SOAPBinding;
import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {

    //获取对应id-user的department序列，id=-1时获取全部
    public List<User> getUserDepartment(Long id);

    //获取对应id-user的role
    public List<User> getUserRole(Long id);

    //获取对应id-user的Doctor
    public List<User> getUserDoctor(Long id);

    //获取对应id-user的role
    public List<User> getUserMedDoctor(Long id);

    public void deleteByIds(List<Long> ids);
}
